SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e8134bad1dd1384363a26dda7e4b452f548f053787e8fdb4d28793b2af0ea04' 
  AND token = 'ldIdcn6ml/SAdFm3nl+SKSFJWEnThq61PID5u+uVrkc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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