SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38f05aec3b3b3decced18d540f4284465ef1e5b0e9143dbaca15ac9a3ebe9a2d' 
  AND token = 'r5K+iHIxoYOmLm+gDjqLCZmDzcqPCTdyXNXM+30cOBk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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