SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afd06f8a4b02820045cc71867b0b41a67cf4b987357eaad5368fc36e0f949fc1' 
  AND token = '0AyOoUxK5Q1xC8S55qiAXF3islflItMZxIo/b9oL6WI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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