SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff4d98fa705df15d9515371c884672b01f99cde633abe9efe02f48a7655aa057' 
  AND token = 'mItDzx63X5lTKbDFtclIKidijFx21Flvxp+RKgT5qgk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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