SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'caf2185fb38d155daa7212222df0f7a1cf3934a93fcabe69befc6203b20533bb' 
  AND token = 'z95qtPCIJXQHbxlFy+kp1dTX7YOyBTkO0Ha0DHUhuBs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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