SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58e74dd71ebff45584f70451394731f7306e5d041ce862f837b646b844d2f4d9' 
  AND token = 'drXCkOTM+WDWV8Ku/l8KI8Kfa7TaJdSnp/8s482Jc28=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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