SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c7a51f9024bb50548fda04c1379dda75f316a50714305134469ab4fb615a8255' 
  AND token = 'B8RRpQAdfLeGPjy56407h+eFP8/lHr86uUc/0LynzjM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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