SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '74c7e65b5017d08dea0b34fb544edaae29414c644b8064ced611d6c4647fac93' 
  AND token = 'jFFWvKH018YNpCyNLlbCT4BiGEa9xqSUn5mAw6p2W6k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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