SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d9cd5cb55a8140eb9d6ea6482dbd1fd739bfc0aa33e0219647e911ad6d59cf2' 
  AND token = 'gkIR8PnSKCQbZnIjBi8Ce/BHoRu0KcJoGEGXW+YjsBY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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