SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddb477956316d5f0259767bb7f18d7f749438d456e81fb0b6ae1c79cde10789a' 
  AND token = 'Mh/Gd2tatVbPH4bSmYj2W9rhe4ypb7GKpGBtIB/4LNc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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