SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27d31bfa0b6de16ea9705556f169013c9742c9c112bbad9258716109c62dc120' 
  AND token = 'AOVve/tjljtaHsI9FN1h7XL9D24p2qOzxz6zUktJ1Fk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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