SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5d78e000e85802d035f038f7dd7454aaeac9be2d9470ab890ac0b39c22ebbbe' 
  AND token = 'nVOJ84eZWbVQa8SgWqmHMY+kSp66y2Qtg16f5zwsSLI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}