SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '318154a320990c89f032c928aa5f4d9416918442f1606369c6010a9147924c21' 
  AND token = 'T0mZMCOmBddXqBtjukUwr9LQ7IIQ28tADM3h8alAWZQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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