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

Query time 0.00038

JSON explain

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