SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '631a5fff76ddffdbcbfdfcc6051eb480d8d0a329e41d7e9687d439beb9074c76' 
  AND token = 'IOfsfAT6wqjbHkOu5frD/IrA6Metfbc51A4CTpM6hMQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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