SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '89b285683a874090044b14acd6e605309160e5ecec897cb821d11da283d741ab' 
  AND token = 'PC2fym9dDJJcHoiyBADw9g0ChRKrt+5HIyN5jt+XCjc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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