SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9cc90b4e30050c23911f24caa68d5b8b8c9dc0d4f9be3fc6c395843825923a1b' 
  AND token = 'ZDrcrsZ2yBn/bRDRdtMzR+AXCn0+Dd/j3RRroTDieQw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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