SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6fa0b8e81239ba2e892b48988a7d12557cef12f860f3172248110d966cec77be' 
  AND token = 'wKtgCcpT+ekVTvfyzHzupHttutTRbyE30Frcr5hQd0c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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