SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27f78dd9b9a17080147e52a6bd1d03652d909b0bd654eee7df075b86b4789e39' 
  AND token = 'gmcO8CFj/QqgT9nxJXCtRUCABXaolOw7XhBozKyOOxk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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