SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc514aa156a119606d7ceb01545de7a4aac10d8b8ed711ab0fe687bc25e2ba23' 
  AND token = 'g8J1Cp0kyRDmYdTK40A7D9ZMft91d1bCTG181DyjgEM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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