SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2fd38f23aa0ee489af75a8487a21100e443afcbd7b542d2b7e38b30bcca50cec' 
  AND token = 'd9a8nN8pf015Nm+HW5Plwqp9or0w/TSGxqj8yXC/Uwg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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