SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b66381039e756ddd66dc317c36dba4138242ac72b4f1b6df681b91612c0ed4a5' 
  AND token = 'T6CW520Q9SGtVz6aqOmlRwnaniMqkMv1lqpUJpVo84M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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