SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dfbe4469b96eddd1afb798aca9e365a0c178df2d66f08cc4052e20d12bb1a765' 
  AND token = 'hiMhkPCGXym4oUfBsHR5Di2C6GA3KljUOxyejiV7/g8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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