SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b89f934e8a59e457333cd7e087ebfb8e3d5988b7ebe38280dbb82fb05a0b7819' 
  AND token = 'sb7Gz+WSsHNLD50OK0Q7M8e8yfhs7LeKhJiHRl4WLtI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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